package com.rgp.serviceprice.service;

import com.rgp.internalcommon.dto.FareTypeDto;
import com.rgp.internalcommon.dto.ResponseResult;
import com.rgp.internalcommon.dto.TollRuleDto;
import com.rgp.internalcommon.response.FareVersionResponse;

/**
 * @author nhp
 * @version 1.0
 * @description TODO
 * @date 2024-04-21 11:51
 */
public interface TollRuleService {
    
    ResponseResult addTollRule(TollRuleDto tollRuleDto);

    ResponseResult editTollRule(TollRuleDto tollRuleDto);

    ResponseResult<FareVersionResponse> getNewestFareVersion(FareTypeDto fareTypeDto);

    ResponseResult<Boolean> ifExists(FareTypeDto fareTypeDto);
}
